home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- d33()
- end
-
- on rightMouseDown
- d33()
- end
-
- on mouseUp
- e33()
- end
-
- on rightMouseUp
- e33()
- end
-
- on e33
- global sprt, w, he, h
- if sprite sprt within (sprt - 20) then
- set the puppet of sprite sprt to 1
- set the visible of sprite sprt to 0
- set the puppet of sprite (sprt - 20) to 1
- set the puppet of sprite (sprt - 20) to 1
- set w to the width of sprite (sprt - 20)
- set he to the height of sprite (sprt - 20)
- set the width of sprite (sprt - 20) to w - 20
- set the height of sprite (sprt - 20) to he - 20
- set the puppet of sprite (sprt - 20) to 1
- set the visible of sprite (sprt - 20) to 1
- end if
- end
-
- on d33
- global sprt, horiz, verti
- set the locH of sprite sprt to horiz
- set the locV of sprite sprt to verti
- set sprt to 33
- set horiz to the locH of sprite sprt
- set verti to the locV of sprite sprt
- end
-